projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be2e861
)
(Electric-command-loop): Set universal-argument-other-key to 0.
author
Richard M. Stallman
<rms@gnu.org>
Thu, 4 Apr 1996 22:06:47 +0000
(22:06 +0000)
committer
Richard M. Stallman
<rms@gnu.org>
Thu, 4 Apr 1996 22:06:47 +0000
(22:06 +0000)
lisp/electric.el
patch
|
blob
|
history
diff --git
a/lisp/electric.el
b/lisp/electric.el
index 2b95a1c2a3ada0d7e0ac8b75dc6b267c6028a9d3..8a155b324d5d8de41c7da96c5df5fa6a74a48b38 100644
(file)
--- a/
lisp/electric.el
+++ b/
lisp/electric.el
@@
-67,8
+67,10
@@
(setq prompt-string "->")))
(setq cmd (read-key-sequence prompt-string))
(setq last-command-char (aref cmd (1- (length cmd)))
- this-command (key-binding cmd)
+ this-command (key-binding cmd
t
)
cmd this-command)
+ ;; This makes universal-argument-other-key work.
+ (setq universal-argument-num-events 0)
(if (or (prog1 quit-flag (setq quit-flag nil))
(eq last-input-char ?\C-g))
(progn (setq unread-command-events nil